package cn.jsu.projectmanage.service;

import cn.jsu.projectmanage.pojo.vo.AccountInfo;
import cn.jsu.projectmanage.pojo.vo.UpdateUserPasswordVO;
import cn.jsu.projectmanage.pojo.vo.CommonResult;
import cn.jsu.projectmanage.pojo.vo.LoginVO;

import javax.servlet.http.HttpServletRequest;

public interface UserService {

    public CommonResult register(AccountInfo accountInfo);

    public CommonResult login(LoginVO loginVO, HttpServletRequest request);

    public CommonResult queryUserInfoAll();

    public CommonResult updateUserPassword(UpdateUserPasswordVO updateUserPasswordVO);

    public CommonResult queryUserInfoGroup(Integer groupId);

    public CommonResult queryUserInfoById(Integer userId);
}
